package com.dhsc.controller.wskh.ewmgl;

import com.dhsc.domain.khzl.common.DictVo;
import com.dhsc.domain.yypt.ResponseObject;
import com.dhsc.service.wskh.ewmgl.IEwmscService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author 二维码生成
 * @date 2024/12/2 14:41
 */
@Controller
@RequestMapping("/wskh/ewmgl")
public class EwmscController {

    @Autowired
    private IEwmscService emscService;

    /**
     * @Description:查询营业部客户群组
     * @return: com.dhsc.domain.yypt.ResponseObject
     * @Author: CDW
     * @Date: 2024/12/2 14:45
     * @param d:
     */
    @RequestMapping("/queryYybKhqz")
    @ResponseBody
    public ResponseObject queryYybKhqz(DictVo d) {
        return emscService.queryYybKhqz(d);
    }

    /**
     * @Description:查询营业部员工信息
     * @return: com.dhsc.domain.yypt.ResponseObject
     * @Author: CDW
     * @Date: 2024/12/2 14:45
     * @param d:
     */
    @RequestMapping("/queryYybYgxx")
    @ResponseBody
    public ResponseObject queryYybYgxx(DictVo d) {
        return emscService.queryYybYgxx(d);
    }

}
